package com.zjj.learn.designmodel.work.factory.abstract_factory;

/**
 * 美食工厂，生产美式咖啡和美式甜点
 **/
public class AmericaFactory implements AbstractFactory{
    @Override
    public Coffee createCoffee() {
        return new MeishiCoffee();
    }

    @Override
    public Dessert createDessert() {
        return new MoChaMuSi();
    }
}
